<meta charset="UTF-8">
<?php

require ('./lib/init.php');
if (!acc()) {
    header('Location:login.php');
}
$sql = "select art_id,pubtime,title,comm,cat_name from art left join cat on art.cat_id = cat.cat_id";
$arts = mGetAll($sql);
include (ROOT . '/view/admin/artlist.html');



?>
